package com.fjbdxk.beidou.mysql;

import java.util.Date;

public class WindTurbineData {
    private int id;
    private String timestamp;
    private String plcStatus;
    private String environmentalTemperature;
    private String windSpeed;
    private String power;
    private String torquePercentage;
    private String generatorSpeed;
    private String bladeSpeed;
    private String windDirection;
    private String pitchAngle;
    private String powerGeneration;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    public String getPlcStatus() {
        return plcStatus;
    }

    public void setPlcStatus(String plcStatus) {
        this.plcStatus = plcStatus;
    }

    public String getEnvironmentalTemperature() {
        return environmentalTemperature;
    }

    public void setEnvironmentalTemperature(String environmentalTemperature) {
        this.environmentalTemperature = environmentalTemperature;
    }

    public String getWindSpeed() {
        return windSpeed;
    }

    public void setWindSpeed(String windSpeed) {
        this.windSpeed = windSpeed;
    }

    public String getPower() {
        return power;
    }

    public void setPower(String power) {
        this.power = power;
    }

    public String getTorquePercentage() {
        return torquePercentage;
    }

    public void setTorquePercentage(String torquePercentage) {
        this.torquePercentage = torquePercentage;
    }

    public String getGeneratorSpeed() {
        return generatorSpeed;
    }

    public void setGeneratorSpeed(String generatorSpeed) {
        this.generatorSpeed = generatorSpeed;
    }

    public String getBladeSpeed() {
        return bladeSpeed;
    }

    public void setBladeSpeed(String bladeSpeed) {
        this.bladeSpeed = bladeSpeed;
    }

    public String getWindDirection() {
        return windDirection;
    }

    public void setWindDirection(String windDirection) {
        this.windDirection = windDirection;
    }

    public String getPitchAngle() {
        return pitchAngle;
    }

    public void setPitchAngle(String pitchAngle) {
        this.pitchAngle = pitchAngle;
    }

    public String getPowerGeneration() {
        return powerGeneration;
    }

    public void setPowerGeneration(String powerGeneration) {
        this.powerGeneration = powerGeneration;
    }

    // 构造函数
    public WindTurbineData(String timestamp, String plcStatus, String environmentalTemperature, String windSpeed, String power, String torquePercentage, String generatorSpeed, String bladeSpeed, String windDirection, String pitchAngle, String powerGeneration) {
        this.timestamp = timestamp;
        this.plcStatus = plcStatus;
        this.environmentalTemperature = environmentalTemperature;
        this.windSpeed = windSpeed;
        this.power = power;
        this.torquePercentage = torquePercentage;
        this.generatorSpeed = generatorSpeed;
        this.bladeSpeed = bladeSpeed;
        this.windDirection = windDirection;
        this.pitchAngle = pitchAngle;
        this.powerGeneration = powerGeneration;
    }

    // 省略 getter 和 setter 方法

    // 你也可以添加 toString() 方法来方便输出对象的信息
    @Override
    public String toString() {
        return "WindTurbineData{" +
                "id=" + id +
                ", timestamp='" + timestamp + '\'' +
                ", plcStatus='" + plcStatus + '\'' +
                ", environmentalTemperature='" + environmentalTemperature + '\'' +
                ", windSpeed='" + windSpeed + '\'' +
                ", power='" + power + '\'' +
                ", torquePercentage='" + torquePercentage + '\'' +
                ", generatorSpeed='" + generatorSpeed + '\'' +
                ", bladeSpeed='" + bladeSpeed + '\'' +
                ", windDirection='" + windDirection + '\'' +
                ", pitchAngle='" + pitchAngle + '\'' +
                ", powerGeneration='" + powerGeneration + '\'' +
                '}';
    }
}
